package icu.lingjie.util;

public class MyException extends RuntimeException {

    static final long serialVersionUID = 123456789L;

    public MyException(String message) {
        super(message);
    }

    public MyException(String message, Throwable cause) {
        super(message, cause);
    }

    public static MyException cause(String msg) {
        return new MyException(msg);
    }

    public static MyException cause(String msg, Throwable error) {
        return new MyException(msg, error);
    }

}
